package org.example.error;

import org.example.code.Code;
import org.example.feign.AuthFeign;
import org.example.pojo.Respond;
import org.springframework.stereotype.Component;


@Component
public class RegisterError implements AuthFeign {

    @Override
    public Respond<String> hasAuth(String router, String auth) {
        return Respond.creatAuthFailRespond("hasAuth error", "鉴权失败");
    }

}
